tg-me.com/PineCodersSquawkBox/184
Last Update:
🌲 #newfeature
A new timeframe.in_seconds(timeframe)
function provides a unified way to more easily compare timeframes. This will be useful in error-checking code, to disable indicators using request.security()
when their timeframe would be lower than the chart's, or when deriving secondary timeframes from the chart's TF.
You can use it without an argument to get the chart's TF in seconds: timeframe.in_seconds()
:
https://www.tradingview.com/pine-script-reference/v5/#fun_timeframe{dot}in_seconds
BY PineCoders Squawk Box

Share with your friend now:
tg-me.com/PineCodersSquawkBox/184